package com.cl.short_video_java.service;

import com.cl.short_video_java.pojo.VideoAd;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cl.short_video_java.vo.video.Advertis;
import com.cl.short_video_java.vo.video.AdvertisSearch;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
* @author object
* @description 针对表【video_ad】的数据库操作Service
* @createDate 2024-10-31 15:58:59
*/
public interface VideoAdService extends IService<VideoAd> {

    PageInfo<VideoAd> getPageService(AdvertisSearch advertisSearch);

    Object deleteAdvertisService(String idlist);

    Object updataPosition(Integer position, String idlist);

    Boolean setStatusService(Integer id, Integer status);

    void add(Advertis advertis);

    Map<String, List<VideoAd>> typeAd();

	Map<String, List<VideoAd>> homeAd();
}
